package calao.contact.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ContactServiceAsync
{

	void listContacts(int group, int org, int detailLevel, AsyncCallback callback);
	
	void getContactDetails(int cid, AsyncCallback callback);

	void listGroups(AsyncCallback callback);
	
	void createContact(Contact details, AsyncCallback callback);
	
	void save(Contact details, AsyncCallback callback);

	void createGroup(Group details, AsyncCallback callback);
	
	void save(Group details, AsyncCallback callback);

}
